package com.tally.server.dto;

/**
 * @Author: sy
 * @Date: 2021/5/11 23:31
 * @Description:
 */
public class SearchPostPageDTO extends PageDTO {
    private String keyword;

    private Integer year;

    private Integer month;

    public String getKeyword() {
        return keyword;
    }

    public void setKeyword(String keyword) {
        this.keyword = keyword;
    }

    public Integer getYear() {
        return year;
    }

    public void setYear(Integer year) {
        this.year = year;
    }

    public Integer getMonth() {
        return month;
    }

    public void setMonth(Integer month) {
        this.month = month;
    }

    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("SearchPostPageDTO{");
        sb.append("keyword='").append(keyword).append('\'');
        sb.append(", year=").append(year);
        sb.append(", month=").append(month);
        sb.append(", page=").append(page);
        sb.append(", size=").append(size);
        sb.append(", total=").append(total);
        sb.append(", list=").append(list);
        sb.append('}');
        return sb.toString();
    }
}
